Skip to content

feat(code): tree view for changed files list#1494

Merged
adboio merged 1 commit intomainfrom
posthog-code/changes-tree-view
Apr 7, 2026
Merged

feat(code): tree view for changed files list#1494
adboio merged 1 commit intomainfrom
posthog-code/changes-tree-view

Conversation

@adboio
Copy link
Copy Markdown
Contributor

@adboio adboio commented Apr 3, 2026

Problem

changed files would be easier to parse as a tree

closes #1197

Changes

  • extract some stuff from the existing file tree view
  • make changed files render as a tree
chat view review panel
Screenshot 2026-04-03 at 1.21.38 PM.png Screenshot 2026-04-03 at 1.21.41 PM.png

How did you test this?

manually

@adboio adboio marked this pull request as ready for review April 3, 2026 20:22
@adboio adboio requested a review from a team April 3, 2026 20:22
@adboio adboio force-pushed the 04-03-feat_code_use_remote_files_for_cloud_review_panel branch from 488611e to 3398bc6 Compare April 3, 2026 21:59
@adboio adboio force-pushed the posthog-code/changes-tree-view branch from b1740de to 2d01726 Compare April 3, 2026 21:59
Copy link
Copy Markdown
Contributor

@k11kirky k11kirky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice

Copy link
Copy Markdown
Contributor Author

adboio commented Apr 7, 2026

Merge activity

  • Apr 7, 3:16 PM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Apr 7, 3:28 PM UTC: Graphite rebased this pull request as part of a merge.
  • Apr 7, 3:39 PM UTC: @adboio merged this pull request with Graphite.

@adboio adboio changed the base branch from 04-03-feat_code_use_remote_files_for_cloud_review_panel to graphite-base/1494 April 7, 2026 15:17
@adboio adboio changed the base branch from graphite-base/1494 to main April 7, 2026 15:26
Replace flat file list in ChangesPanel with a collapsible folder tree.
Directories with a single child are compacted (e.g. "src/utils").

Extract shared TreeDirectoryRow and TreeFileRow components used by both
the changes tree and the repo file tree (FileTreePanel), deduplicating
directory and file row rendering.

Generated-By: PostHog Code
Task-Id: 60c3af6f-6f10-4722-a2c4-7a2a15303ba1
@adboio adboio force-pushed the posthog-code/changes-tree-view branch from 2d01726 to f6f153f Compare April 7, 2026 15:27
@adboio adboio merged commit f600d9a into main Apr 7, 2026
16 checks passed
@adboio adboio deleted the posthog-code/changes-tree-view branch April 7, 2026 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support tree level change list

2 participants